<!-- 内容 -->
<div style="margin:10px"></div>
<div class="content">
    <form id="form" class="easyui-form" method="POST" data-options="novalidate:true">
        <input type='hidden' name="id" id="id"/>
        <table cellpadding="5">
            <tr>
                <td align="right">产品名称：</td>
                <td><input class="easyui-textbox" type="text" name="name" data-options="required:true"/></td>
            </tr>
            <tr>
                <td align="right">负责人：</td>
                <td><input class="easyui-textbox" type="text" name="manager" data-options="required:true"/></td>
            </tr>
            <tr>
                <td align="right">所属产品集：</td>
                <td>
                    <input class="easyui-combobox"
                           name="productSetId"
                           editable="false"
                           data-options="required:true,
                           url:'/rest/admin/productsets',
                           method:'get',
                           valueField:'id',
                           textField:'name',
                           panelHeight:'auto'">
                </td>
            </tr>
        </table>
    </form>
</div>

<!-- 弹出框按钮 -->
<div class="windowButton" style="padding:10px">
    <a id="save" class="easyui-linkbutton my-dialog-button" plain="true" icon="icon-save" onclick="_submit()"
       href="javascript:void(0)">保存</a>
    <a id="cancel" class="easyui-linkbutton my-dialog-button" plain="true" icon="icon-cancel"
       href="javascript:void(0)">取消</a>
</div>

<script>
    // $('#language').combobox('reload', 'combobox_data1.json')
    $(function () {
        $("#cancel").on("click", function () {
            $childwin().window("close");
        });
    })

    _get();

</script>